<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <p id="demo">君莫邪</p>

    <button type="button01" onclick='document.getElementById("demo").innerHTML="莫道君行早" '>
        改变内容
    </button>

    <button type="button02" onclick='document.write(65+65) '>
        算数
    </button>

    <script>
        console.log(1 + 1)
    </script>

</body>




</html>